#include "stdio.h"
#include "stdlib.h"

static int testId = 0;

void assert(int target, int result) {
    if (target == result) {
        printf("test case(%d) => %d\n", testId++, result);
    } else {
        printf("test case(%d) except %d, but got %d\n", testId++, target, result);
        exit(-1);
    }
}